package service

import (
	"context"
	"xs.jsjb/internal/app/menu/entity"
	"xs.jsjb/internal/app/menu/repository"
)

type menuService struct {
	repo repository.MenuRepo
}

type MenuService interface {
	GetMenu(ctx context.Context, req *entity.GetMenuReq) (res *entity.GetMenuRes, err error)
}

func NewMenuService(repo repository.MenuRepo) MenuService {
	return &menuService{
		repo,
	}
}
